package com.bw.mallshop.mvvm.model;

import com.bw.mallshop.mvvm.model.entity.TokenEntity;
import com.bw.mallshop.mvvm.model.entity.UserCenterEntity;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;

/**
 * @author KK
 * @description:
 * @date :2021/10/13 16:17
 */
public interface Api {

    @POST("sysToken/getToken")
    Observable<TokenEntity> requestToken(@Body RequestBody body);

    @POST("userCenter/getConfig")
    Observable<UserCenterEntity> requestBootombtn(@Body RequestBody body);

}
